<% layout('/layouts/default.html', {title: '数据管理', libs: ['dataGrid']}){ %>
<div class="main-content">
	<div class="box box-main">
		<div class="box-header">

		</div>
		<div class="box-body">
		<button id="test" onclick="on()">按我试试</button>








        </div>
	</div>
</div>
    <%}%>
<script src="${ctxStatic}/jquery/jquery-ui-sortable-1.12.1.min.js"></script>
<script src="${ctxStatic}/echarts/4.2/echarts.min.js"></script>
<script>
function on(){
	 let btn =document.getElementById('test').innerText=Date();
    btn.style.color="#ff0000";
}



</script>
